<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
</head>
<body>
<table>

    <tr>
        <td>功能：</td>
    </tr>
    <tbody id="maa">
    <tr>
        <td></td>
    </tr>
    </tbody>

</table>
</body>
<script>
    load();
    function load(){
        $.post("/login/login1.do",function(res){
            for ( r of res) {
                console.log(r);
                $("#maa").append(`
                <tr>
                    <td><a href="/${r.privilegeMethod}">${r.privilegeName}</a></td>
                </tr>

                `);
            }


        })
    }


</script>



</html>